home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Sunday Times: The Month 2003 December
/
The Sunday Times - The Month 2003-12.iso
/
mac
/
The Month DEC 03
/
engine
/
modules
/
shopping.swf
/
scripts
/
frame_5
/
DoAction.as
Wrap
Text File
|
2003-11-10
|
509b
|
27 lines
function showContent(type)
{
trace("shopping.showContent( " + type + " )");
currPage = type;
loadPageData(type.toLowerCase());
mMenu.setPage(type.toLowerCase());
mText.gotoAndStop(type.toLowerCase());
}
function init()
{
if(this == _root)
{
showContent("music");
}
else
{
trace("shopping loaded, looking for nodeData...");
showContent(nodeData.attributes.type);
}
}
if(this == _root)
{
showContent("music");
}
onReady();
stop();